import Mock from '../../../mock/getMockJson'
import { urlLog } from '../../log/log'
class User {
  constructor(){
    this.loginIn = this.loginIn.bind(this);
  }
  async loginIn(ctx, next) {
    ctx.status = 200;
    // 获取mock数据
    ctx.body= await Mock('user'); 
    urlLog(ctx.url,ctx.request.body,ctx.body);
  }
}

export default new User();